<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html>
   <head></head>
   <body> 
  <?PHP
    $database=pg_connect("host=<HOST> port=5432 dbname=<DB NAME> user=<USER> password=<PASSWORD>" );
    if(!$database)
    {
    	die("AGFX:Could not connect -> " . pg_errormessage($database));
    }

	//http://monkey.intelligentdevelopment.sk/games/cubes_games_score.php?game=TEST_GAME&player=TEST_PLAYER1&score=256
  
    $game = $_GET['game'];
	$player = $_GET['player'];
	$score = $_GET['score'];
	$result = pg_query( "INSERT INTO <TABLENAME> (\"GAME\", \"PLAYER\", \"SCORE\" ) VALUES ('$game','$player', '$score')" );
  ?>

   </body>
 </html>